//package com.mdd.admin.controller;
//
//import com.mdd.admin.service.IFileService;
//import com.mdd.admin.validate.commons.PageValidate;
//import com.mdd.admin.validate.file.FileSearchValidate;
//import com.mdd.admin.vo.file.FileVo;
//import com.mdd.common.core.AjaxResult;
//import com.mdd.common.core.PageResult;
//import io.swagger.annotations.Api;
//import io.swagger.annotations.ApiOperation;
//import lombok.extern.slf4j.Slf4j;
//import org.springframework.validation.annotation.Validated;
//import org.springframework.web.bind.annotation.GetMapping;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RestController;
//
//import javax.annotation.Resource;
//
//@Slf4j
//@RestController
//@RequestMapping("api/file")
//@Api(tags = "文件管理")
//public class FileController {
//
//    @Resource
//    IFileService iFileService;
//
//    @GetMapping("/list")
//    @ApiOperation(value="文件列表")
//
//    public AjaxResult<PageResult<FileVo>> list(@Validated PageValidate pageValidate,
//                                               @Validated FileSearchValidate fileSearchValidate) {
//        PageResult<FileVo> list = iFileService.list(pageValidate, fileSearchValidate);
//        return AjaxResult.success(list);
//    }
//
//
//
//}
